/*
 * 版权所有 (C) 2015 知启蒙(ZHIQIM) 保留所有权利。
 * 
 * 欢迎到知启蒙网站（https://www.zhiqim.com）购买正版软件，知启蒙还提供许多开源框架和软件。
 * 
 * 1、本软件产品所有源代码受《中华人民共和国著作权法》和其他有关法律、法规的保护，其所有知识产权归湖南知启蒙科技有限公司所有；
 * 2、禁止复制和修改。不得复制修改、翻译或改编本软件所有源代码，或者基于本软件产品创作衍生作品；
 * 3、禁止进行逆向工程。不得对本软件的源代码进行逆向工程、反编译或试图以其他方式发现软件的源代码；
 * 4、个别授权：如需进行商业性的销售、复制、分发，包括但不限于软件销售、预装、捆绑等，必须获得知启蒙的书面授权和许可；
 * 5、保留权利：本注释未明示授权的其他一切权利仍归知启蒙所有，任何人使用其他权利时必须获得知启蒙的书面同意。
*/
package net.redxyz.top.repost.dbo;

import java.io.Serializable;

import org.zhiqim.kernel.annotation.AnAlias;
import org.zhiqim.kernel.annotation.AnNew;
import org.zhiqim.kernel.json.Jsons;
import org.zhiqim.orm.annotation.*;

/**
 * 自动上架计划表 对应表《ASS_REPOST_PLAN》
 */
@AnAlias("AssRepostPlan")
@AnNew
@AnTable(table="ASS_REPOST_PLAN", key="PLAN_ID", type="InnoDB")
public class AssRepostPlan implements Serializable
{
    private static final long serialVersionUID = 1L;

    @AnTableField(column="NICK", type="string,50", notNull=true)    private String nick;    //1.用户昵称
    @AnTableField(column="PLAN_ID", type="string,32,char", notNull=true)    private String planId;    //2.计划编码
    @AnTableField(column="PLAN_NAME", type="string,32", notNull=true)    private String planName;    //3.计划名称
    @AnTableField(column="PLAN_STATUS", type="int", notNull=true)    private int planStatus;    //4.计划状态，1表示正常，0表示停用
    @AnTableField(column="PLAN_OPERATE_STATUS", type="int", notNull=true)    private int planOperateStatus;    //5.计划调整状态,0表示初始状态,1表示正在运行，2表示调整完成
    @AnTableField(column="PLAN_ITEM_NUM", type="int", notNull=true)    private int planItemNum;    //6.计划调整宝贝总数
    @AnTableField(column="PLAN_SELLER_CIDS", type="string,5000", notNull=false)    private String planSellerCids;    //7.计划分类，用逗号分割 
    @AnTableField(column="PLAN_TITLE", type="string,1000", notNull=false)    private String planTitle;    //8.计划宝贝标题关键字
    @AnTableField(column="PLAN_WEEKS", type="string,32", notNull=true)    private String planWeeks;    //9.计划星期值，用逗号分割开
    @AnTableField(column="PLAN_HOURS", type="string,128", notNull=true)    private String planHours;    //10.计划小时表，用逗号分割开
    @AnTableField(column="PLAN_SEQUENCE", type="int", notNull=true)    private int planSequence;    //11.计划最后序列号
    @AnTableField(column="PLAN_DOWN_IIDS", type="string,500", notNull=false)    private String planDownIids;    //12.手动排除宝贝编码
    @AnTableField(column="CREATE_TIME", type="string,19,char", notNull=true)    private String createTime;    //13.创建时间,格式：yyyy-MM-dd hh:mm:ss
    @AnTableField(column="UPDATE_TIME", type="string,19,char", notNull=true)    private String updateTime;    //14.更新时间,格式：yyyy-MM-dd hh:mm:ss

    public String toString()
    {
        return Jsons.toString(this);
    }

    public String getNick()
    {
        return nick;
    }

    public void setNick(String nick)
    {
        this.nick = nick;
    }

    public String getPlanId()
    {
        return planId;
    }

    public void setPlanId(String planId)
    {
        this.planId = planId;
    }

    public String getPlanName()
    {
        return planName;
    }

    public void setPlanName(String planName)
    {
        this.planName = planName;
    }

    public int getPlanStatus()
    {
        return planStatus;
    }

    public void setPlanStatus(int planStatus)
    {
        this.planStatus = planStatus;
    }

    public int getPlanOperateStatus()
    {
        return planOperateStatus;
    }

    public void setPlanOperateStatus(int planOperateStatus)
    {
        this.planOperateStatus = planOperateStatus;
    }

    public int getPlanItemNum()
    {
        return planItemNum;
    }

    public void setPlanItemNum(int planItemNum)
    {
        this.planItemNum = planItemNum;
    }

    public String getPlanSellerCids()
    {
        return planSellerCids;
    }

    public void setPlanSellerCids(String planSellerCids)
    {
        this.planSellerCids = planSellerCids;
    }

    public String getPlanTitle()
    {
        return planTitle;
    }

    public void setPlanTitle(String planTitle)
    {
        this.planTitle = planTitle;
    }

    public String getPlanWeeks()
    {
        return planWeeks;
    }

    public void setPlanWeeks(String planWeeks)
    {
        this.planWeeks = planWeeks;
    }

    public String getPlanHours()
    {
        return planHours;
    }

    public void setPlanHours(String planHours)
    {
        this.planHours = planHours;
    }

    public int getPlanSequence()
    {
        return planSequence;
    }

    public void setPlanSequence(int planSequence)
    {
        this.planSequence = planSequence;
    }

    public String getPlanDownIids()
    {
        return planDownIids;
    }

    public void setPlanDownIids(String planDownIids)
    {
        this.planDownIids = planDownIids;
    }

    public String getCreateTime()
    {
        return createTime;
    }

    public void setCreateTime(String createTime)
    {
        this.createTime = createTime;
    }

    public String getUpdateTime()
    {
        return updateTime;
    }

    public void setUpdateTime(String updateTime)
    {
        this.updateTime = updateTime;
    }

}
